import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class MachineReportModalService {
  private serviceUrls: any = {
    getReportDeatilUrl: '/phoneCheck/getCheckInformation' // 验机报告详情
  }

  constructor(public httpClient: HttpClient) { }

  // 查询验机报告详情
  getReportDeatilData(params: any): Promise<any> {
    return this.httpClient.post(this.serviceUrls.getReportDeatilUrl, params).toPromise();
  }
}
